<template>
    <div>
        <!-- <div>navbar</div>
        <div>siderbar</div>
        <router-view></router-view> -->
        <el-container>
            <!-- <el-aside width="200px">Aside</el-aside> -->
            <SideMenu></SideMenu>
            <el-container direction="vertical">
                <!-- <el-header>Header</el-header> -->
                <TopHeader></TopHeader>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>
<script setup>
   import TopHeader from '@/components/mainbox/TopHeader.vue';
   import SideMenu from '@/components/mainbox/SideMenu.vue';
</script>
<style lang="scss" scoped>
 .el-main{
    overflow: auto;
    height: calc(100vh - 60px);
 }
</style>